<template>
    <div class="tableNo-data" :style="style">
        <img src="~@/assets/images/detail_no.png" alt="" />
    </div>
</template>
<script>
export default {
    props: {
        height: {
            default: 180
        }
    },
    computed: {
        style() {
            return {
                height: parseInt(this.height) + 'px'
            };
        }
    }
};
</script>
<style lang="less" scoped>
.tableNo-data {
    // height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    line-height: 30px;
    background-color: #fff;
    flex-direction: column;
    background: #fff;

    img {
        width: 120px;
    }
}
</style>
